﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TeamProject.Policy
{
    public partial class PolPayments : Form
    {
        public PolPayments()
        {
            InitializeComponent();
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dataGridView1.Columns[e.ColumnIndex].HeaderText.Equals("Плащания"))
            {
                PolPayDetails f_ppd = new PolPayDetails();
                f_ppd.MdiParent = Form1.ActiveForm;
                f_ppd.Show();
            }
        }
    }
}
